home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
NeXTSTEP 3.3 (Developer)…68k, x86, SPARC, PA-RISC]
/
NeXTSTEP 3.3 Dev Intel.iso
/
NextDeveloper
/
Headers
/
g++
/
typemacros.h
< prev
next >
Wrap
Text File
|
1995-02-06
|
268b
|
9 lines
#define _T(type) typeof(type)
#define pointer_to(type) _T(_T(type)*)
#define member_of(cls,type) _T(_T(type) cls::)
#define function(res, args) _T(_T(res) args)
#define _xq_yq(x,y) x ## _ ## y
#define _x_y(x,y) _xq_yq(x,y)
#define _gensym(stem) _x_y(stem, __LINE__)